package com.sjq.demo.service.impl;


import com.sjq.demo.entity.RbacUser;
import com.sjq.demo.mapper.RbacUserMapper;
import com.sjq.demo.service.RbacUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author yer
 * @since 2021-02-26
 */
@Service
public class RbacUserServiceImpl extends ServiceImpl<RbacUserMapper, RbacUser> implements RbacUserService {

    @Override
    public RbacUser getRbacUser(String username, String password) {
        return getBaseMapper().getRbacUserByNameAndPws(username,password);
    }

}
